package com.ai.bitcoin.jpa.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author Jason
 * @date 2018/2/28
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@Table(name = "bcc_basic_info")
public class BccBasicInfo extends Identity {
    private static final long serialVersionUID = 6092964828656323883L;

    @Column(unique = true)
    String bccId;
    //唯一简称
    @Column(unique = true)
    String symbol;
    String batchNo;
    String blockccCoinId;
    String nameCn;
    String nameEn;
    //总流通量
    String totalSupply;
    //可交易流通量
    String availableSupply;

    String logoUrl;
    String officialSiteUrl;
    String walletSiteUrl;
    String blockViewSiteUrl;
    String whitepaperUrl;
    String videoIntroUrl;
    String coinmarketcapUrl;

    String opensourceRepo;
    String facebook;
    String twitter;
    String telegram;
    String linkedin;
    String blog;
    String reddit;


    String chainType;
    String chainTags;
    String description;
    String icoAllContents;

    Date onlineTime;
    Date icoStartTime;
    Date icoEndTime;
    Date createTime;
    Date updateTime;
    String recordState;
    String editField;

    int officialSiteUrlCount;
    int icoToNowDay;
    int onlineToNowDay;

    //市值排名 目前固定
    int ranking;

    @Column(name = "volume_24h")
    String volume24h;

    //小鹅通音频栏目地址
    String voiceUrl;

}
